home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
1833
/
1833.xpi
/
chrome
/
m
/
yoono.com
/
sidebar.jar
/
sidebar
/
js
/
tos.js
< prev
next >
Wrap
Text File
|
2009-12-16
|
964b
|
1 lines
var tos=null;function Tos(){this.footerTos=document.getElementById("footer-tos");this.footerWarning=document.getElementById("footer-warning")}function yoonoSidebarInit(){tos=new Tos();tos.init();var a;a=document.getElementsByTagName("IFRAME")[0];a.style.display="block";a.contentDocument.body.style.fontFamily="Arial";a.contentDocument.body.style.fontSize="12px";a.contentDocument.body.style.overflowX="hidden";yoono.localization.translateDocument(document,YLanguages)}function yoonoSidebarQuit(){}Tos.prototype.init=function(){};Tos.prototype.accept=function(){try{YEXTIF.execFct("tosCallBack","accept")}catch(a){}};Tos.prototype.uninstall=function(){try{YEXTIF.execFct("tosCallBack","uninstall")}catch(a){}};Tos.prototype.back=function(){yoono.dom.addClassName(document.body,"tos");yoono.dom.removeClassName(document.body,"warning")};Tos.prototype.cancel=function(){yoono.dom.removeClassName(document.body,"tos");yoono.dom.addClassName(document.body,"warning")};